import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import '@Components/assets/styles/vx-table-variables.scss'
import sxDirective from '@Components/assets/js/directive'
import { tagMark } from './global/index';
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'

export const initial = (Vue) =>{
    Vue.prototype.sx_mark = tagMark;
    Vue.use(VXETable)
    Vue.use(sxDirective)
    Vue.use(Viewer, {
      defaultOptions: {
        toolbar: {
          zoomIn: true,
          zoomOut: true,
          prev: true,
          next: true,
          rotateLeft: true,
          rotateRight: true
        },
        zIndex: 9999
      }
    })
}